.tt-wrapper {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #333;
}
.tt-header {
    height: 60px;
    line-height: 60px;
    border-bottom: 3px solid #ccc;
}
.tt-header .button > button {
    border: 1px solid #ccc;
    padding: 10px 20px;
    vertical-align: middle;
    cursor: pointer;
}
.tt-header .button > button:hover {
    border-color: deepskyblue;
}
.tt-header .button > button.active {
    background-color: deepskyblue;
    color: #fff;
}

.tt-main {
    height: 600px;
    background-color: #f0f0f0;
}
.tt-map {
    width: 600px;
    height: 600px;
    background-color: skyblue;
    float: left;
}
.tt-map ul {
    height: 30px;
}
.tt-map ul li {
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    box-sizing: border-box;
    float: left;
}
.tt-map ul li.theSnake {
    background-color: lightgreen;
    border-radius: 50%;
}
.tt-map ul li.theSnakeHead {
    background-color: greenyellow;
    border-radius: 25%;
}
.tt-map ul li.food {
    background-color: orange;
    border-radius: 50%;
}

.tt-option {
    width: 370px;
    height: 600px;
    background-color: snow;
    float: left;
}
.op-content {
    width: 300px;
    height: 600px;
    background-color: #f0f0f0;
    margin: 0 auto;
}
.op-content ul {
    position: relative;
    height: 600px;
    overflow: hidden;
}
.op-content ul .difficute {
    text-align: center;
    margin-top: 10px;
}
.op-content ul .difficute .df-title {
    height: 50px;
    line-height: 50px;
    font-size: 28px;
    font-weight: bold;
}
.op-content ul .difficute .df-title span {
    cursor: default;
}
.op-content ul .difficute .df-btn button {
    border: 1px solid #ccc;
    background-color: snow;
    padding: 5px 10px;
    vertical-align: middle;
    cursor: pointer;
    /* cursor: not-allowed; */
}
.op-content ul .difficute .df-btn button:first-child:hover {
    border-color: lightgreen !important;
}
.op-content ul .difficute .df-btn button:nth-child(2):hover {
    border-color: deepskyblue !important;
}
.op-content ul .difficute .df-btn button:last-child:hover {
    border-color: red !important;
}
.op-content ul .custom {
    /* position: absolute; */
    text-align: center;
    width: 300px;
    margin-top: 50px;
    /* height: 500px; */
    /* bottom: 0; */
}
.op-content ul .custom .ct-title {
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
}
.op-content ul .custom .ct-title span {
    cursor: pointer;
}
.op-content ul .custom .ct-title span:hover {
    color: deepskyblue;
}
.op-content ul ol {
    display: none;
}
.custom ol .ct-mode {
    height: 80px;
    margin-top: 10px;
    overflow: hidden;
}
.custom ol .ct-mode .ct-mode-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
}
.custom ol .ct-mode button {
    border: 1px solid #ccc;
    background-color: snow;
    padding: 5px 10px;
    margin-top: 5px;
    vertical-align: middle;
    cursor: pointer;
}
.custom ol .ct-mode button:nth-child(2):hover {
    border-color: lightgreen;
}
.custom ol .ct-mode button:last-child:hover {
    border-color: orange;
}
.custom ol .ct-map {
    height: 150px;
    margin-top: 10px;
    overflow: hidden;
}
.custom ol .ct-map .ct-map-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
}
.custom ol .ct-map button{
    border: 1px solid #ccc;
    background-color: snow;
    padding: 5px 10px;
    margin-top: 5px;
    vertical-align: middle;
    cursor: not-allowed;
}
.custom ol .ct-map input{
    border: 1px solid #ccc;
    background-color: snow;
    padding: 5px 10px;
    margin-top: 5px;
    vertical-align: middle;
    cursor: not-allowed;
}
.custom ol .ct-game {
    /* height: 150px; */
    margin-top: 10px;
    overflow: hidden;
}
.custom ol .ct-game .ct-game-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
}
.custom ol .ct-game button{
    border: 1px solid #ccc;
    background-color: snow;
    padding: 5px 10px;
    margin-top: 5px;
    vertical-align: middle;
    /* cursor: not-allowed; */
}
.custom ol .ct-game input{
    border: 1px solid #ccc;
    background-color: snow;
    padding: 5px 10px;
    margin-top: 5px;
    vertical-align: middle;
    /* cursor: not-allowed; */
}
#confirm, #reset {
    cursor: pointer;
}
#confirm:active, #reset:active {
    border-color: deepskyblue;
}
.hidden {
    margin-top: 20px;
    padding-right: 20px;
    text-align: right;
    /* position: absolute;
    right: 10px;
    bottom: 100px; */
}
.hidden button {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    background-color: snow;
    vertical-align: middle;
    border-radius: 50%;
    cursor: pointer;
}
.hidden button:hover {
    border-color: #333;
}

.tt-footer {
    /* height: 60px; */
    border-top: 3px solid #ccc; 
}
.tt-footer .score span {
    color: red;
    font-size: 45px;
    font-weight: bold;
}

@keyframes slideDown {
    0% {
        transform: translateY(-10%);
    }
    100% {
        transform: translateY(0);
    }
}